home *** CD-ROM | disk | FTP | other *** search
- property done
-
- on prepareFrame me
- global gConMan
- if seenIntro(gConMan, #doors) then
- sendAllSprites(#sendToolBarCoverAway)
- go(the frame + 1)
- end if
- end
-
- on exitFrame me
- global gConMan, gToolBarTextMan
- if seenIntro(gConMan, #doors) then
- go(the frame + 1)
- else
- if not done then
- sendAllSprites(#sendToolBarCoverAway)
- sendAllSprites(#bringResourceButtonsForward)
- if houseHasWindows(gConMan) then
- setToolBarText(gToolBarTextMan, "bm_PreDoors")
- else
- setToolBarText(gToolBarTextMan, "bm_PreDoorsNoWindows")
- end if
- done = 1
- end if
- end if
- go(the frame)
- end
-